#include "stdafx.h"

Card::Card()
{
	m_pokes.clear();
}

Card::~Card()
{
	m_pokes.clear();
}

void Card::setPokes(VecInt& p)
{
	m_pokes.clear();
	m_pokes = p;
	AIUtil::sort(m_pokes);
	m_pokeType = AIUtil::getPokeType(m_pokes);
}

int Card::getValue()
{
	return AIUtil::getPokeTypeValue(m_pokes, m_pokeType);
}
